% This file was created by matlab2tikz v0.2.0.
% Copyright (c) 2008--2012, Nico Schlömer <nico.schloemer@gmail.com>
% All rights reserved.
% 
% The latest updates can be retrieved from
%   http://www.mathworks.com/matlabcentral/fileexchange/22022-matlab2tikz
% where you can also make suggestions and rate matlab2tikz.
% 
% 
% 
\begin{tikzpicture}

% defining custom colors
\definecolor{mycolor1}{rgb}{0,0.75,0.75}
\definecolor{mycolor2}{rgb}{0.75,0,0.75}
\definecolor{mycolor3}{rgb}{0.75,0.75,0}


\begin{semilogyaxis}[%
width=0.4\textwidth,
height=0.3\textwidth,
scale only axis,
xmin=0, xmax=9,
xlabel={level},
ymin=32.5, ymax=128000,
yminorticks=true,
ylabel={number of DOFs},
axis on top]
\addplot [
color=blue,
solid
]
coordinates{
 (0,250)(1,65) 
};

\addplot [
color=green!50!black,
solid
]
coordinates{
 (0,500)(1,325)(2,116) 
};

\addplot [
color=red,
solid
]
coordinates{
 (0,1000)(1,697)(2,294)(3,132) 
};

\addplot [
color=mycolor1,
solid
]
coordinates{
 (0,2000)(1,1314)(2,817)(3,551)(4,200) 
};

\addplot [
color=mycolor2,
solid
]
coordinates{
 (0,4000)(1,2585)(2,1615)(3,1246)(4,687)(5,209) 
};

\addplot [
color=mycolor3,
solid
]
coordinates{
 (0,8000)(1,5278)(2,3197)(3,2272)(4,1861)(5,870)(6,286) 
};

\addplot [
color=darkgray,
solid
]
coordinates{
 (0,16000)(1,10406)(2,7021)(3,5627)(4,5035)(5,2562)(6,1104)(7,295) 
};

\addplot [
color=blue,
solid
]
coordinates{
 (0,32000)(1,21537)(2,13959)(3,10013)(4,8198)(5,7312)(6,3225)(7,1425)(8,367) 
};

\addplot [
color=green!50!black,
solid
]
coordinates{
 (0,64000)(1,44261)(2,28698)(3,23027)(4,20723)(5,19659)(6,9938)(7,4591)(8,1944)(9,438) 
};

\end{semilogyaxis}
\end{tikzpicture}
